package com.bh.extend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.extend.domain.JcReceivingParty;

import java.util.List;

/**
 * 客户地址Service接口
 *
 * @author slx
 * @date 2023-04-02
 */
public interface IJcReceivingPartyService extends IService<JcReceivingParty> {
    /**
     * 查询客户地址
     *
     * @param id 客户地址主键
     * @return 客户地址
     */
    public JcReceivingParty selectJcReceivingpartyById(Long id);

    /**
     * 查询客户地址列表
     *
     * @param jcReceivingParty 客户地址
     * @return 客户地址集合
     */
    public List<JcReceivingParty> selectJcReceivingpartyList(JcReceivingParty jcReceivingParty);

    /**
     * 查询客户地址列表
     *
     * @param jcReceivingParty 客户地址
     * @return 客户地址集合
     */
    public JcReceivingParty selectJcReceivingpartyListByName(String address);

    /**
     * 新增客户地址
     *
     * @param jcReceivingParty 客户地址
     * @return 结果
     */
    public int insertJcReceivingparty(JcReceivingParty jcReceivingParty);

    /**
     * 修改客户地址
     *
     * @param jcReceivingParty 客户地址
     * @return 结果
     */
    public int updateJcReceivingparty(JcReceivingParty jcReceivingParty);

    /**
     * 批量删除客户地址
     *
     * @param ids 需要删除的客户地址主键集合
     * @return 结果
     */
    public int deleteJcReceivingpartyByIds(Long[] ids);

    /**
     * 删除客户地址信息
     *
     * @param id 客户地址主键
     * @return 结果
     */
    public int deleteJcReceivingpartyById(Long id);
}
